home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
video
/
fly8111-.000
/
fly8111-
/
fly8
/
MSDOS
/
find.bat
< prev
next >
Wrap
DOS Batch File
|
1979-12-31
|
622b
|
32 lines
@echo off
:: ---------------------------------- find.bat -------------------------------
:: This is part of the flight simulator 'fly8'.
:: Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
:: Find an address in the link map. used when a divide-overflow is reported
:: in the log file.
if not exist f.map goto err
if "%1" == "" goto auto
if "%2" == "" goto using
awk -f find.awk AD=%1 MAIN=%2 <f.map
goto end
:err
echo missing map file 'f.map'
goto end
:auto
sed -n "s/^+++1 /call find /;/^call /p" fly.log >temp.bat
call temp.bat
del temp.bat
goto end
:using
echo usage: find ffff:ffff mmmm:mmmm
goto end
:end